﻿using Hong.Model.Dto.PesponseDto.ResponseModel.ResultModel;
using Hong.Model.SysDomain.Model_SystemSettings.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hong.IRepository.IRepository_SystemSettings.RBAC
{
    public interface IRole
    {
        ResponseModel<bool> AddUR(string[] PersonnelId, string RoleNmae);

        ResponseModel<List<RoleModel>> GetRole();

        ResponseModel<List<GetPersonModel>> GetPerson();

        ResponseModel<List<RoleModel>> GURole(string RoleId);

        ResponseModel<bool> DelRole(string RoleId);

        ResponseModel<bool> UPRole(string[] PersonnelId, string RoleNmae, string RoleId);

    }
}
